﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Presenter_SSResourceManager;

namespace WebView_SSResourceManager.Admin
{
    public partial class ManageQueues : System.Web.UI.Page, IViewManageQueues
    {
        private PresenterManageQueues _presenter = null;

        protected void Page_Load(object sender, EventArgs e)
        {
            _presenter = new PresenterManageQueues(this);
            _presenter.LoadData();
        }

        public void SetDataForQueues(IEnumerable<ShowQueue> showQueues)
        {
            lstV_QueuesView.DataSource = showQueues;
            lstV_QueuesView.DataBind();
        }
    }
}